home *** CD-ROM | disk | FTP | other *** search
- Path: magnus.acs.ohio-state.edu!csn!carbon!evans!tgibson
- From: tgibson@evans.cudenver.edu (Todd Arthur Gibson)
- Newsgroups: comp.lang.c++
- Subject: Re: Difficulty hiring people with C++ experience.
- Date: 10 Jan 1996 21:10:08 GMT
- Organization: University of Colorado at Denver
- Message-ID: <4d19vg$kam@carbon.cudenver.edu>
- References: <gmandelDJAoyx.Kpr@netcom.com> <4ai727$of3@nrchh52.rich.nt.com> <4api46$c95@no-names.nerdc.ufl.edu> <4bto2d$gnq@usenet1.interramp.com> <gmandelDKL1AF.K22@netcom.com> <4clu0d$623@usenet4.interramp.com> <4d12p3$26lq@news.doit.wisc.edu>
- NNTP-Posting-Host: evans.cudenver.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Eric Richard Keiter (keiter@hp-171.cae.wisc.edu) wrote:
-
-
-
- : (Tom Donaldson) writes:
-
- : : When asked about
- : : "programming by contract", the response is "Huh?" The
- : : difference between dynamic and static languages? "Static
- : : languages shock you if you shuffle your feet, and dynamic
- : : languages are more energetic?" What are your professional
- : : development goals for the next five years? "To have a job and
- : : have lots of free time to play Sega games."
-
- : I'm curious... what IS the difference between dynamic and static
- : languages? is it that a dynamic language allows for dynamic memory
- : allocation? or allows aliases?
-
- : and what is programming by contract? it sounds like an obvious question
- : -- is the answer not obvious?
-
- : Eric Keiter
- : keiter@percy.engr.wisc.edu
-
- I believe the original poster was talking about statically typed
- languages vs. dynamically typed languages. C++ is statically
- typed--the type of variables is known at compile-time. You will
- get a compiler error if you try to assign a float to a char*.
-
- Smalltalk is dynamically typed. You do not specify the type
- of a variable when you declare it. You could have a float in
- a variable one minute and a string in the same variable the
- next. Errors in how the variables are used are detected
- while the program is running.
- -TAG
-